<%--
  Created by IntelliJ IDEA.
  User: 754165242
  Date: 2022/3/7
  Time: 20:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--
      set标签 向域对象中存值
      out标签 输出域对象中的值
      remove标签 移除域对象中值
  --%>
<%--<%
    request.setAttribute("msg","看我哦");
    System.out.println(request.getAttribute("msg"));
    request.removeAttribute("msg");
%>--%>
<c:set var="msg" value="看我哦" scope="request"></c:set>
<c:out value="${msg}"></c:out> <br>
<c:remove var="msg"></c:remove>
${msg}
</body>
</html>
